export default [
  {
    path: '/login',
    layout: false,
    name: '',
    component: './Login',
  },

  { path: '/home', name: '首页', component: './Index' },
  { path: '/userManger', name: '用户管理', component: './userManger', access: 'canReadePath' },
  { path: '/courseManger', name: '课程管理', component: './courseManger', access: 'canReadePath' },
  { path: '/chooseManger', name: '选课管理', component: './chooseManger', access: 'canReadePath' },
  { path: '/permissionManger', name: '权限管理', component: './permissionManger', access: 'canReadePath' },
  
  { path: '/', redirect: '/home' },
  { component: './404' },
];
